This page last changed on Nov 27, 2007 by [email protected].

In your Apache configuration, a virtual host section could look something like:

<VirtualHost *>

  # ...
  RewriteEngine On
  RewriteCond %{SERVER_PORT} !^8080$
  RewriteRule ^/geoserver/(.*) http://%{HTTP_HOST}:8080/geoserver/$1 [P]

  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>
  # ...

</VirtualHost>

Note that GeoServer will still create links that go through port 8080. The above configuration is useful for cases that don't use the UI - WFS and WMS requests for example.

Document generated by Confluence on Jan 16, 2008 23:27